package main

import (
	"os/exec"
	"fmt"
	"strings"
)

func main() {
	cmd := exec.Command("cmd","hello")
	var out strings.Builder
	cmd.Stdout = &out
	err := cmd.Run()
	fmt.Printf("out :%v, err:%v",out.String() , err)
}